.class Ladapter/FramentOrder11111$GoodsAdapter$1;
.super Ljava/lang/Object;
.source "FramentOrder11111.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ladapter/FramentOrder11111$GoodsAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Ladapter/FramentOrder11111$GoodsAdapter;


# direct methods
.method constructor <init>(Ladapter/FramentOrder11111$GoodsAdapter;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    .line 1188
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 1194
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    .line 1196
    .local v0, "index":I
    const/4 v3, 0x2

    new-array v2, v3, [I

    .line 1197
    .local v2, "startpos":[I
    invoke-virtual {p1, v2}, Landroid/view/View;->getLocationInWindow([I)V

    .line 1198
    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    new-instance v4, Landroid/widget/ImageView;

    iget-object v5, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v5}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v5

    # getter for: Ladapter/FramentOrder11111;->context:Landroid/content/Context;
    invoke-static {v5}, Ladapter/FramentOrder11111;->access$0(Ladapter/FramentOrder11111;)Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-static {v3, v4}, Ladapter/FramentOrder11111;->access$3(Ladapter/FramentOrder11111;Landroid/widget/ImageView;)V

    .line 1199
    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    # getter for: Ladapter/FramentOrder11111;->buyImg:Landroid/widget/ImageView;
    invoke-static {v3}, Ladapter/FramentOrder11111;->access$4(Ladapter/FramentOrder11111;)Landroid/widget/ImageView;

    move-result-object v3

    const v4, 0x7f020053

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 1201
    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    invoke-virtual {v3, v0}, Ladapter/FramentOrder11111;->addcart(I)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 1202
    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    iget-object v4, p0, Ladapter/FramentOrder11111$GoodsAdapter$1;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v4}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v4

    # getter for: Ladapter/FramentOrder11111;->buyImg:Landroid/widget/ImageView;
    invoke-static {v4}, Ladapter/FramentOrder11111;->access$4(Ladapter/FramentOrder11111;)Landroid/widget/ImageView;

    move-result-object v4

    # invokes: Ladapter/FramentOrder11111;->setAnim(Landroid/view/View;[I)V
    invoke-static {v3, v4, v2}, Ladapter/FramentOrder11111;->access$5(Ladapter/FramentOrder11111;Landroid/view/View;[I)V

    .line 1206
    :cond_0
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    .line 1207
    .local v1, "message":Landroid/os/Message;
    const/4 v3, 0x3

    iput v3, v1, Landroid/os/Message;->arg1:I

    .line 1208
    iput v0, v1, Landroid/os/Message;->arg2:I

    .line 1212
    sget-object v3, Ladapter/FramentOrder11111;->handler:Landroid/os/Handler;

    invoke-virtual {v3, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 1214
    return-void
.end method
